<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
  
  <HEAD><META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">
    <TITLE>nwscode.pydatetime.time -- Time with time zone.</TITLE>
    <LINK HREF="layout.css" TYPE="text/css" REL="stylesheet">
    
  </HEAD>
  <BODY>
    <DIV ID="page">
      
    <DIV ID="top-nav">
        <H1 ID="doc-title">
        <A HREF="index.html" REL="index">nwscode</A></H1>
        <DIV CLASS="online-navigation">
          <A HREF="index.html" REL="index">index</A>
          <SPAN ID="nav-docs">
            
          </SPAN>
          
          
          <BR>
          
          
          
          <A HREF="module-nwscode.html" TITLE="nwscode reference">
            nwscode
          </A>
          
            
            <A HREF="class-nwscode.pydatetime.time.html">details</A>
            
            <A HREF="class-nwscode.pydatetime.time-index.html">
              tree
            </A>
            
          
        </DIV>
    </DIV>
    
    <DIV ID="main-content">
  
  <H1 CLASS="pudge-member-page-heading">
    <TT>time</TT>
  </H1>
  <H4 CLASS="pudge-member-page-subheading">
    Time with time zone.
  </H4>
  <P CLASS="pudge-member-parent-link">
    <SMALL>
    The time class is accessible via the
    <A HREF="module-nwscode.pydatetime.html">
      <TT>nwscode.pydatetime</TT>
    </A> module.
    </SMALL>
  </P>
  <DIV ID="pudge-section-nav">
  <UL>
    <LI>
      <A HREF="#attributes" CLASS="pudge-section-link">
        Attributes (9)
      </A>
      
    </LI>
      
    <LI>
      <A HREF="#methods" CLASS="pudge-section-link">
        Methods (14)
      </A>
      
    </LI>
    
    <LI>
      <A HREF="nwscode/pydatetime.py.html?f=1065&amp;l=1354#1065" CLASS="pudge-section-link">
        Source
      </A>
    </LI>
  </UL>
  </DIV>
  <DIV STYLE="clear: left">
  </DIV>
  <DIV CLASS="rst pudge-module-doc">
    <P>Constructors:</P>
<P>__new__()</P>
<P>Operators:</P>
<P>__repr__, __str__
__cmp__, __hash__</P>
<P>Methods:</P>
<P>strftime()
isoformat()
utcoffset()
tzname()
dst()</P>
<P>Properties (readonly):
hour, minute, second, microsecond, tzinfo</P>
  </DIV>
  
  <HR>
  
  
  
  
    <A NAME="attributes">
  
  
    </A>
    <H2>Attributes</H2>
    <DIV CLASS="pudge-member name">
    <A NAME="second">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#second" CLASS="pudge-obj-link">second</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>second (0-59)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="min">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#min" CLASS="pudge-obj-link">min</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      
      <PRE>datetime.time(0, 0)</PRE>
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="__safe_for_unpickling__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#__safe_for_unpickling__" CLASS="pudge-obj-link">__safe_for_unpickling__</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      
      <PRE>True</PRE>
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="max">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#max" CLASS="pudge-obj-link">max</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      
      <PRE>datetime.time(23, 59, 59, 999999)</PRE>
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="tzinfo">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#tzinfo" CLASS="pudge-obj-link">tzinfo</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>timezone info object</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="microsecond">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#microsecond" CLASS="pudge-obj-link">microsecond</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>microsecond (0-999999)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="minute">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#minute" CLASS="pudge-obj-link">minute</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>minute (0-59)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="hour">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#hour" CLASS="pudge-obj-link">hour</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      <P>hour (0-23)</P>
      
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member name">
    <A NAME="resolution">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">a</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#resolution" CLASS="pudge-obj-link">resolution</A></TT></H4>
    <DIV CLASS="pudge-section rst">
      
      <PRE>datetime.timedelta(0, 0, 1)</PRE>
    </DIV>
  </DIV>
    
  
    <A NAME="methods">
    
  
    </A>
    <H2>Methods</H2>
    <DIV CLASS="pudge-member routine alias">
    <A NAME="__init__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#__init__" CLASS="pudge-obj-link">__init__</A>(...)</TT>
      <A HREF="__builtin__.py.html" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      x.__init__(...) initializes x; see x.__class__.__doc__ for signature
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__eq__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#__eq__" CLASS="pudge-obj-link">__eq__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1124&amp;l=1129#1124" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__ne__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#__ne__" CLASS="pudge-obj-link">__ne__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1130&amp;l=1135#1130" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__le__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#__le__" CLASS="pudge-obj-link">__le__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1136&amp;l=1141#1136" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__lt__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#__lt__" CLASS="pudge-obj-link">__lt__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1142&amp;l=1147#1142" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__ge__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#__ge__" CLASS="pudge-obj-link">__ge__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1148&amp;l=1153#1148" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__gt__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#__gt__" CLASS="pudge-obj-link">__gt__</A>(self, other)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1154&amp;l=1159#1154" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="isoformat">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#isoformat" CLASS="pudge-obj-link">isoformat</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1227&amp;l=1239#1227" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return the time formatted according to ISO.
    </P>
    <P>This is 'HH:MM:SS.mmmmmm+zz:zz', or 'HH:MM:SS+zz:zz' if
self.microsecond == 0.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="strftime">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#strftime" CLASS="pudge-obj-link">strftime</A>(self, fmt)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1242&amp;l=1252#1242" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Format using strftime().  The date part of the timestamp passed
to underlying strftime should not be used.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="utcoffset">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#utcoffset" CLASS="pudge-obj-link">utcoffset</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1255&amp;l=1263#1255" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return the timezone offset in minutes east of UTC (negative west of
UTC).
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="tzname">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#tzname" CLASS="pudge-obj-link">tzname</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1270&amp;l=1280#1270" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return the timezone name.
    </P>
    <P>Note that the name is 100% informational -- there's no requirement that
it mean anything in particular. For example, "GMT", "UTC", "-500",
"-5:00", "EDT", "US/Eastern", "America/New York" are all valid replies.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="dst">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#dst" CLASS="pudge-obj-link">dst</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1281&amp;l=1295#1281" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return 0 if DST is not in effect, or the DST offset (in minutes
eastward) if DST is in effect.
    </P>
    <P>This is purely informational; the DST offset has already been added to
the UTC offset returned by utcoffset() if applicable, so there's no
need to consult dst() unless you're interested in displaying the DST
info.</P>
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="replace">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#replace" CLASS="pudge-obj-link">replace</A>(self, hour=None, minute=None, second=None, microsecond=None, tzinfo=True)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1296&amp;l=1312#1296" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    <P CLASS="pudge-member-blurb">
      Return a new time with new values for the specified fields.
    </P>
    
  
    </DIV>
  </DIV>
  <DIV CLASS="pudge-member routine ">
    <A NAME="__nonzero__">
    </A>
    <H4 CLASS="pudge-member-name">
    <SPAN CLASS="prefix">f</SPAN>
      <TT>
      <A HREF="class-nwscode.pydatetime.time.html#__nonzero__" CLASS="pudge-obj-link">__nonzero__</A>(self)</TT>
      <A HREF="nwscode/pydatetime.py.html?f=1319&amp;l=1324#1319" TITLE="View Source">...</A>
    </H4>
    <DIV CLASS="pudge-section rst">
      
    
    
  
    </DIV>
  </DIV>
    
  
  
  <P>
    <SMALL>
    
    
    See 
    <A HREF="nwscode/pydatetime.py.html?f=1065&amp;l=1354#1065" TITLE="nwscode/pydatetime.py:1065">the source</A>
    for more information.
    </SMALL>
  </P>
</DIV>
    
    <DIV ID="footer">
      
      <P ID="pudge">
        Built with
        <A HREF="http://lesscode.org/projects/pudge/">
          Pudge/0.1.1</A>
      </P>
      
    </DIV>
    </DIV>
  </BODY>
</HTML>